package com.service;

import com.dao.HandMapper;
import com.pojo.HandSet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HandServiceImpl implements HandService{

    @Autowired
    private HandMapper handMapper;

    @Override
    public List<HandSet> list() {
        List<HandSet> list = handMapper.list();
        return list;
    }

    @Override
    public HandSet findId(int hsId) {
        return handMapper.findId(hsId);
    }

    @Override
    public int delete(int hsId) {
        return handMapper.delete(hsId);
    }
}
